//
//  IntegralMallParticipateView.h
//  lmq
//
//  Created by 马田成 on 2017/4/2.
//  Copyright © 2017年 yuanxin. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void (^EditBlcok)();


@interface IntegralMallParticipateView : UIView<UITextFieldDelegate>
@property (weak, nonatomic) IBOutlet UIButton *canceButton;
@property (weak, nonatomic) IBOutlet UIButton *subtractButton;
@property (weak, nonatomic) IBOutlet UIButton *addedButton;
@property (weak, nonatomic) IBOutlet UITextField *numberTextField;
@property (weak, nonatomic) IBOutlet UILabel *allMoneyLabel;
@property (weak, nonatomic) IBOutlet UIButton *nowPurchaseButton;
@property (weak, nonatomic) IBOutlet UIButton *buttonOf20;
@property (weak, nonatomic) IBOutlet UIButton *buttonOf5;
@property (weak, nonatomic) IBOutlet UIButton *buttonOf15;
@property (weak, nonatomic) IBOutlet UIButton *buttonOf10;


@property (nonatomic, copy) NSString *price;
@property (nonatomic, copy) NSString *numberLabel;
@property (nonatomic,assign) NSInteger number;
@property (nonatomic, copy) EditBlcok block;

- (void)callBackEditBlock:(EditBlcok)block;

//@property (nonatomic,copy) void (^subtractAdd)(NSInteger number,BOOL plus);

@end
